package com.question_barrier.vo.barrier;

import com.question_barrier.entity.Barrier;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("xx年级xx科目的关卡基本信息")
public class BarrierInfo {
    @ApiModelProperty("关卡总数")
    private long totalBarriers;
    @ApiModelProperty("最新关卡号")
    private long latestBarrierDegree;

    public BarrierInfo(long totalBarriers, long latestBarrierDegree) {
        this.totalBarriers = totalBarriers;
        this.latestBarrierDegree = latestBarrierDegree;
    }
}
